{"version":3,"file":"ui.uploader.stack-widget.bundle.map.js","names":["this","BX","UI","exports","main_popup","ui_buttons","ui_uploader_core","ui_uploader_tileWidget","main_core","ui_uploader_stackWidget","StackWidgetSize","LARGE","MEDIUM","SMALL","TINY","progressSizes","width","lineSize","StackUpload","name","inject","components","UploadLoader","props","items","type","Array","required","queueItems","emits","computed","uploadFileTitle","length","Loc","getMessage","progress","reduce","total","item","Math","floor","progressOptions","widgetOptions","size","max","template","StackLoad","fileIconSizes","StackPreview","FileIcon","FileStatus","Sizes","find","status","LOAD_FAILED","UPLOAD_FAILED","fileIconSize","errorsCount","errors","StackDropArea","data","isHovering","uploader","shouldAcceptOnlyImages","isMultiple","dragFileHint","mounted","assignDropzone","$refs","container","assignBrowse","isItemLoading","LOADING","StackWidgetComponent","extends","VueUploaderComponent","TileList","ErrorPopup","mixins","DragOverMixin","popupContentId","enableAnimation","dragMode","isMounted","containerClasses","currentComponent","dragOver","some","currentComponentProps","error","uploaderError","errorPopupOptions","bindElement","bindOptions","position","darkMode","offsetTop","background","contentBackground","contentColor","padding","closeIcon","watch","newValue","oldValue","handler","popup","close","deep","created","adapter","subscribe","forEach","origin","FileOrigin","CLIENT","queued","push","event","getStatus","UploaderStatus","STARTED","getData","indexOf","splice","methods","showPopup","id","Text","getRandom","toLowerCase","Popup","height","draggable","titleBar","content","cacheable","closeByEsc","resizable","minWidth","minHeight","events","onDestroy","buttons","CloseButton","onclick","show","abortUpload","from","removeFile","handlePopupDestroy","StackWidget","VueUploaderWidget","constructor","uploaderOptions","stackWidgetOptions","Type","isPlainObject","Object","assign","super","getRootComponent","Uploader","Main"],"sources":["ui.uploader.stack-widget.bundle.js"],"mappings":"AAAAA,KAAKC,GAAKD,KAAKC,IAAM,CAAC,EACtBD,KAAKC,GAAGC,GAAKF,KAAKC,GAAGC,IAAM,CAAC,GAC3B,SAAUC,EAAQC,EAAWC,EAAWC,EAAiBC,EAAuBC,EAAUC,GAC1F,aAEA,MAAMC,EAAkB,CACtBC,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